package com.itheima.classabstrac;

public class Test {
    public static void main(String[] args) {
        ClassAbstract cj=new JuxXing();
        System.out.println("矩形的面积:");
        System.out.println(cj.area());
        System.out.println("矩形的周长:");
        System.out.println(cj.zhouChang());
        System.out.println("- - - - - - - - - ");
        ClassAbstract cy=new Yuan();
        System.out.println("圆的面积:");
        System.out.println(cy.area());
        System.out.println("圆的周长:");
        System.out.println(cy.zhouChang());
    }
}
